<html>
<head><meta charset="utf-8"><title>terraform 0.13 · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html">terraform 0.13</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208672605"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208672605" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208672605">(Sep 01 2020 at 11:16)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> I was tweaking terraform to bump fargate to 1.4.0, and I noticed the upgrade command left some artifacts</p>



<a name="208672632"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208672632" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208672632">(Sep 01 2020 at 11:16)</a>:</h4>
<p>now the <code>terraform {}</code> block is duplicated between <code>_terraform.tf</code> and <code>versions.tf</code></p>



<a name="208672665"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208672665" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208672665">(Sep 01 2020 at 11:17)</a>:</h4>
<p>and <code>terraform init</code> downloads duplicate providers unless we execute this for every provider, in each state file:</p>
<div class="codehilite"><pre><span></span><code>terraform state replace-provider &#39;registry.terraform.io/-/PROVIDER&#39; &#39;hashicorp/PROVIDER&#39;
</code></pre></div>



<a name="208672676"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208672676" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208672676">(Sep 01 2020 at 11:17)</a>:</h4>
<p>making the changes locally, will then push</p>



<a name="208673307"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208673307" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208673307">(Sep 01 2020 at 11:24)</a>:</h4>
<p>ok no a <code>terraform apply</code> is the same as running the <code>replace-provider</code>s</p>



<a name="208675600"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208675600" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208675600">(Sep 01 2020 at 11:47)</a>:</h4>
<p>Huh I thought I ran it and added it in all directories</p>



<a name="208675614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208675614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208675614">(Sep 01 2020 at 11:47)</a>:</h4>
<p>I must've missed one or two</p>



<a name="208675649"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208675649" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208675649">(Sep 01 2020 at 11:47)</a>:</h4>
<p>Oh I didn't replace providers</p>



<a name="208697963"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208697963" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Khionu Sybiern <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208697963">(Sep 01 2020 at 14:50)</a>:</h4>
<p>Did you already upgrade to 0.13?</p>



<a name="208698074"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/terraform%200.13/near/208698074" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/terraform.200.2E13.html#208698074">(Sep 01 2020 at 14:51)</a>:</h4>
<p>yep</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>